﻿using System;

namespace NetCoreCMS.Models
{
    /// <summary>
    /// 类别与规格关系表
    /// </summary>   
    public partial class Article_comment:BaseModel
    {
        /// <summary>
        /// 频道ID 1新闻，2商品
        /// </summary>
        public int channel_id { get; set; } = 0;
        /// <summary>
        /// 主表ID
        /// </summary>
        public int article_id { get; set; } = 0;
        /// <summary>
        /// 父评论ID
        /// </summary>
        public int parent_id { get; set; } = 0;
        /// <summary>
        /// 用户ID
        /// </summary>
        public int user_id { get; set; } = 0;
        /// <summary>
        /// 用户名
        /// </summary>
        public string user_name { get; set; }
        /// <summary>
        /// 用户IP
        /// </summary>
        public string user_ip { get; set; }
        /// <summary>
        /// 评论内容
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// 是否锁定
        /// </summary>
        public int is_lock { get; set; } = 0;
        /// <summary>
        /// 是否已答复
        /// </summary>
        public int is_reply { get; set; } = 0;
        /// <summary>
        /// 答复内容
        /// </summary>
        public string reply_content { get; set; }
        /// <summary>
        /// 回复时间
        /// </summary>
        public DateTime? reply_time { get; set; }
    }
}